// SmVR_CPoint.h

//#include "SmVR_CommonTypes.h"


#ifndef _CPOINT_
#define _CPOINT_

#include <stdio.h>
#include <gl\gl.h>
#include <gl\glu.h>

class SmVR_CPoint
{
	public:
		GLfloat X,Y,Z;

		SmVR_CPoint ();
		SmVR_CPoint (GLfloat a, GLfloat b, GLfloat c);
		SmVR_CPoint SmVR_CPoint::operator+(SmVR_CPoint pt);
		SmVR_CPoint SmVR_CPoint::operator-(SmVR_CPoint pt);
		SmVR_CPoint SmVR_CPoint::operator-();
		SmVR_CPoint SmVR_CPoint::operator-(float val);
		SmVR_CPoint SmVR_CPoint::operator+(float val);
		SmVR_CPoint SmVR_CPoint::operator/(float val);
		SmVR_CPoint SmVR_CPoint::operator*(float val);
		bool operator<(SmVR_CPoint pt);
		float Mod();
		void Normalize();
};

#endif



